std::bitset::size

From Cppreference

Jump to: navigation, search
size_t size() const;

Returns the number of bits that the bitset can hold.

Parameters

(none)

Return value

number of bits that the bitset can hold

See also

count
returns the number of bits set to true
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages